/* 高对比度主题 */
.theme-high-contrast {
  /* 背景色系 */
  --vp-c-bg: #000000;
  --vp-c-bg-soft: #1a1a1a;
  --vp-c-bg-mute: #2d2d2d;
  --vp-c-bg-alt: #1a1a1a;
  
  /* 文本色系 */
  --vp-c-text-1: #ffffff;
  --vp-c-text-2: #e0e0e0;
  --vp-c-text-3: #b0b0b0;
  --vp-c-text-4: #808080;
  
  /* 边框色系 */
  --vp-c-border: #ffffff;
  --vp-c-divider: #ffffff;
  --vp-c-gutter: #1a1a1a;
  
  /* 品牌色系 */
  --vp-c-brand: #00ff00;
  --vp-c-brand-light: #00ff00;
  --vp-c-brand-lighter: #00ff00;
  --vp-c-brand-dark: #00cc00;
  --vp-c-brand-darker: #009900;
  --vp-c-brand-dimm: rgba(0, 255, 0, 0.2);
  
  /* 链接色系 */
  --vp-c-link: #00ff00;
  --vp-c-link-hover: #00ff00;
  --vp-c-link-active: #00ff00;
  
  /* 代码色系 */
  --vp-c-code: #ff6600;
  --vp-c-code-bg: #1a1a1a;
  --vp-c-code-block-bg: #000000;
  
  /* 提示色系 */
  --vp-c-tip: #00ff00;
  --vp-c-tip-bg: #001100;
  --vp-c-warning: #ffff00;
  --vp-c-warning-bg: #1a1a00;
  --vp-c-danger: #ff0000;
  --vp-c-danger-bg: #1a0000;
  
  /* 阴影色系 */
  --vp-c-shadow: rgba(255, 255, 255, 0.3);
  --vp-c-shadow-light: rgba(255, 255, 255, 0.1);
  
  /* 特殊元素 */
  --vp-c-bg-soft-up: #1a1a1a;
  --vp-c-bg-soft-down: #000000;
  --vp-c-bg-soft-mute: #2d2d2d;
  
  /* 按钮色系 */
  --vp-button-brand-bg: #00ff00;
  --vp-button-brand-hover-bg: #00cc00;
  --vp-button-brand-active-bg: #009900;
  --vp-button-brand-text: #000000;
  
  --vp-button-alt-bg: #2d2d2d;
  --vp-button-alt-hover-bg: #404040;
  --vp-button-alt-active-bg: #5a5a5a;
  --vp-button-alt-text: #ffffff;
  
  --vp-button-sponsor-bg: #ffff00;
  --vp-button-sponsor-hover-bg: #cccc00;
  --vp-button-sponsor-active-bg: #999900;
  --vp-button-sponsor-text: #000000;
  
  /* 自定义主题变量 */
  --theme-primary: #00ff00;
  --theme-secondary: #ffffff;
  --theme-accent: #00ff00;
  --theme-success: #00ff00;
  --theme-warning: #ffff00;
  --theme-error: #ff0000;
  --theme-info: #00ff00;
  
  /* 代码块主题 */
  --code-bg: #000000;
  --code-border: #ffffff;
  --code-text: #ffffff;
  --code-keyword: #ff6600;
  --code-string: #00ff00;
  --code-comment: #808080;
  --code-function: #00ff00;
  --code-variable: #ff00ff;
  
  /* 表格主题 */
  --table-header-bg: #1a1a1a;
  --table-border: #ffffff;
  --table-hover-bg: #2d2d2d;
  
  /* 卡片主题 */
  --card-bg: #000000;
  --card-border: #ffffff;
  --card-shadow: rgba(255, 255, 255, 0.3);
  
  /* 输入框主题 */
  --input-bg: #000000;
  --input-border: #ffffff;
  --input-focus-border: #00ff00;
  --input-text: #ffffff;
  --input-placeholder: #808080;
  
  /* 滚动条主题 */
  --scrollbar-bg: #1a1a1a;
  --scrollbar-thumb: #ffffff;
  --scrollbar-thumb-hover: #00ff00;
  
  /* 动画时间 */
  --theme-transition-duration: 0.3s;
}

/* 高对比度主题特定样式 */
.theme-high-contrast .vp-feature {
  background: #000000;
  border: 2px solid #ffffff;
  color: #ffffff;
}

.theme-high-contrast .vp-feature:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(255, 255, 255, 0.4);
  border-color: #00ff00;
}

.theme-high-contrast .vp-doc .vp-hero {
  background: #000000;
  color: #ffffff;
}

.theme-high-contrast .vp-button {
  border: 2px solid;
  font-weight: bold;
}

.theme-high-contrast .vp-button:hover {
  transform: scale(1.05);
}

/* 高对比度主题 - 强调可读性 */
.theme-high-contrast .vp-doc h1,
.theme-high-contrast .vp-doc h2,
.theme-high-contrast .vp-doc h3,
.theme-high-contrast .vp-doc h4,
.theme-high-contrast .vp-doc h5,
.theme-high-contrast .vp-doc h6 {
  color: #00ff00;
  font-weight: bold;
  border-bottom: 2px solid #ffffff;
  padding-bottom: 0.5rem;
}

.theme-high-contrast .vp-doc p {
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.theme-high-contrast .vp-doc a {
  color: #00ff00;
  text-decoration: underline;
  font-weight: bold;
}

.theme-high-contrast .vp-doc a:hover {
  color: #ffff00;
  text-decoration: none;
}

.theme-high-contrast .vp-doc ul,
.theme-high-contrast .vp-doc ol {
  margin-bottom: 1.5rem;
}

.theme-high-contrast .vp-doc li {
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

.theme-high-contrast .vp-doc .vp-code {
  background: var(--code-bg);
  border: 2px solid var(--code-border);
  color: var(--code-text);
  font-weight: bold;
}

.theme-high-contrast .vp-doc .vp-code-group {
  border: 2px solid var(--code-border);
}

.theme-high-contrast .vp-doc .vp-code-group .tabs {
  background: var(--code-bg);
  border-bottom: 2px solid var(--code-border);
}

.theme-high-contrast .vp-doc .vp-code-group .tab {
  color: var(--code-text);
  font-weight: bold;
  border: 2px solid transparent;
  border-bottom: none;
}

.theme-high-contrast .vp-doc .vp-code-group .tab.active {
  color: #00ff00;
  background: var(--code-bg);
  border-color: #ffffff;
  border-bottom: none;
}

.theme-high-contrast .vp-doc .custom-block {
  border: 2px solid;
  border-left: 4px solid;
  background: var(--vp-c-bg-soft);
  font-weight: bold;
}

.theme-high-contrast .vp-doc .custom-block.warning {
  border-color: var(--theme-warning);
  border-left-color: var(--theme-warning);
  color: var(--theme-warning);
}

.theme-high-contrast .vp-doc .custom-block.danger {
  border-color: var(--theme-error);
  border-left-color: var(--theme-error);
  color: var(--theme-error);
}

.theme-high-contrast .vp-doc .custom-block.tip {
  border-color: var(--theme-success);
  border-left-color: var(--theme-success);
  color: var(--theme-success);
}

.theme-high-contrast .vp-doc .custom-block.info {
  border-color: var(--theme-info);
  border-left-color: var(--theme-info);
  color: var(--theme-info);
}

/* 高对比度主题 - 表格样式 */
.theme-high-contrast .vp-doc table {
  border: 2px solid #ffffff;
  border-collapse: collapse;
}

.theme-high-contrast .vp-doc th,
.theme-high-contrast .vp-doc td {
  border: 2px solid #ffffff;
  padding: 0.75rem;
  font-weight: bold;
}

.theme-high-contrast .vp-doc th {
  background: #1a1a1a;
  color: #00ff00;
}

.theme-high-contrast .vp-doc tr:hover {
  background: #2d2d2d;
}

/* 高对比度主题 - 导航栏样式 */
.theme-high-contrast .VPNavBar {
  background: #000000;
  border-bottom: 2px solid #ffffff;
}

.theme-high-contrast .VPNavBarTitle {
  color: #00ff00;
  font-weight: bold;
}

.theme-high-contrast .VPNavBarMenu .VPNavBarMenuLink {
  color: #ffffff;
  font-weight: bold;
}

.theme-high-contrast .VPNavBarMenu .VPNavBarMenuLink:hover {
  color: #00ff00;
}

/* 高对比度主题 - 侧边栏样式 */
.theme-high-contrast .VPSidebar {
  background: #000000;
  border-right: 2px solid #ffffff;
}

.theme-high-contrast .VPSidebarItem {
  color: #ffffff;
  font-weight: bold;
}

.theme-high-contrast .VPSidebarItem:hover {
  color: #00ff00;
}

.theme-high-contrast .VPSidebarItem.active {
  color: #00ff00;
  border-left: 3px solid #00ff00;
}